package cn.com.haopy.dataes.db.entity.main;

import cn.com.haopy.dataes.db.entity.MainBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

@Data
@TableName(value = "hd_log", autoResultMap = true)
public class HDLog extends MainBaseEntity {
    @TableField(value = "admin", jdbcType = JdbcType.VARCHAR)
    String admin;

    @TableField(value = "ip", jdbcType = JdbcType.VARCHAR)
    String ip;

    @TableField(value = "type", jdbcType = JdbcType.INTEGER)
    Integer type;

    @TableField(value = "action", jdbcType = JdbcType.VARCHAR)
    String action;

    @TableField(value = "status", jdbcType = JdbcType.BIT)
    Boolean status;

    @TableField(value = "result", jdbcType = JdbcType.VARCHAR)
    String result;

    @TableField(value = "comment", jdbcType = JdbcType.VARCHAR)
    String comment;
}
